package com.web.entity;

public class Chargestock {
    private  int id;
    private String name;
    private String category ;
    private String location ;
    private  int inputVoltage;
    private  int outputPower;
    private  int hourlyRate;
    private String status;

    public Chargestock() {
    }

    public Chargestock(int id, String name, String category, String location, int inputVoltage, int outputPower, int hourlyRate, String status) {
        this.id = id;
        this.name = name;
        this.category = category;
        this.location = location;
        this.inputVoltage = inputVoltage;
        this.outputPower = outputPower;
        this.hourlyRate = hourlyRate;
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getCategory() {
        return category;
    }

    public String getLocation() {
        return location;
    }

    public int getInputVoltage() {
        return inputVoltage;
    }

    public int getOutputPower() {
        return outputPower;
    }

    public int getHourlyRate() {
        return hourlyRate;
    }

    public String getStatus() {
        return status;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public void setInputVoltage(int inputVoltage) {
        this.inputVoltage = inputVoltage;
    }

    public void setOutputPower(int outputPower) {
        this.outputPower = outputPower;
    }

    public void setHourlyRate(int hourlyRate) {
        this.hourlyRate = hourlyRate;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Chargestock{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", category='" + category + '\'' +
                ", location='" + location + '\'' +
                ", inputVoltage=" + inputVoltage +
                ", outputPower=" + outputPower +
                ", hourlyRate=" + hourlyRate +
                ", status='" + status + '\'' +
                '}';
    }
}
